package com.zbxx.dao;

import com.zbxx.domain.Successkilled;
import org.apache.ibatis.annotations.Param;


public interface SuccessKillDao {

    //插入购买明细,可过滤重复   插入的行数
    int insertSuccessKilled(@Param("id") long id, @Param("userPhone") long userPhone);

    //根据id查询successdomain并携带秒杀产品对象实体
    Successkilled queryByidWithSeckill(long id);

}
